package com.aaa.sso.feigen;

import com.aaa.entity.UUserPermission;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient(value = "front-system")
public interface PermissionFeigen {
    @GetMapping("/system/userPermission/all")
    List<UUserPermission> getPermissionByUserid();


    @GetMapping("/system/userPermission/businessInfoAll")
    List<UUserPermission> businessInfoAll();
}
